package com.igeek.boot.service;

import com.igeek.boot.config.LoginUser;
import com.igeek.boot.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2023-12-26
 */
public interface IAdminService extends IService<Admin> {
    //根据用户名 查询 认证用户信息
    Admin findAdminByName(String username);

    //登录
    LoginUser login(Admin admin);
}
